Skip to content

fix(datafusion): reject UPDATE and DELETE on temporary targets - #1325

Merged
JingsongLi merged 1 commit into
apache:mainfrom
slfan1989:paimon-rust-1324
Nov 5, 2026
Merged

JingsongLi merged 1 commit into
apache:mainfrom
slfan1989:paimon-rust-1324

Conversation

@slfan1989

Copy link
Copy Markdown
Contributor

Purpose

Linked issue: closes #1324

Prevent UPDATE and DELETE from modifying persistent tables hidden by temporary tables or views.

Brief change log

  • Reject temporary targets before loading the persistent table.
  • Reuse existing temporary-object resolution.
  • Add regression coverage for temporary tables and views shadowing persistent tables.

Tests

  • Verified the regression fails before the fix.

API and Format

No.

Documentation

No.

@JingsongLi JingsongLi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@JingsongLi
JingsongLi merged commit 7990908 into apache:main Nov 5, 2026
15 checks passed
@slfan1989

Copy link
Copy Markdown
Contributor Author

+1

Thanks @JingsongLi for reviewing and merging this PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UPDATE and DELETE modify persistent tables shadowed by temporary objects

2 participants